package de.leuphana.internet.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.AbstractController;

import de.leuphana.internet.model.Katalog;


public class KatalogAnzeigenController extends AbstractController {
	
	@Override
	protected ModelAndView handleRequestInternal(
			HttpServletRequest httpServletRequest,
			HttpServletResponse httpServletResponse) throws Exception {
		Katalog katalog = new Katalog();
		getServletContext().setAttribute("katalog", katalog);

		return new ModelAndView("forward:/Katalog");
	}
}